package com.psg.pojo;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User implements Serializable {

  /**
   *用户id号（555555）
   */
  private Integer uId;
  /**
   *用户名（张三）
   */
  private String uName;//u_name
  /**
   *用户密码（123456）
   */
  private String pwd;
  /**
   *邮箱（123@qq.com）
   */
  private String email;

  @Override
  public String toString() {
    return "User{" +
            "uId=" + uId +
            ", uName='" + uName + '\'' +
            ", pwd='" + pwd + '\'' +
            ", email='" + email + '\'' +
            '}';
  }

  public String getuName() {
    return uName;
  }

  public void setuName(String uName) {
    this.uName = uName;
  }

  public Integer getuId() {
    return uId;
  }

  public void setuId(Integer uId) {
    this.uId = uId;
  }



  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }
}




